.ctools-dropbutton-processed {
  margin-top: -2px !important;
}

.item-list .pager {
  clear: both;
  text-align: center;
  margin: 20px 0;
  li {
    background-image: none;
    display: inline;
    list-style-type: none;
    padding: 0;
    margin: 0;
    &.pager-current {
      padding: 0 5px;
    }
  }
}

.draggable a.tabledrag-handle {
  margin-left: 0;
  display: block;
  height: 100%;
  margin-top: 3px;
}

a.tabledrag-handle .handle {
  background-position: 0 0;
  height: 15px;
  margin: 0 0.5em;
  padding: 0;
  width: 15px;
}

.admin-menu {
  .navbar.navbar-fixed-top {
    //margin-top: 30px;
  }
}

legend {
  width: inherit;
  border-bottom: none;
}

.action-links .btn,
.action-links .btn-group {
  margin-bottom: 10px;
  margin-right: 10px;
}

.login-container {
  position: relative;
  margin: 10% auto;
  max-width: 350px;
  input {
    max-width: 100%;
  }
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
  vertical-align: middle;
}

.setting-container {
  label {
    display: inline-block;
  }
}

.page-sidebar.menu-compact + .page-content {
  .page-breadcrumbs {
    //margin-left: 5px;
  }
}

#ui-datepicker-div select {
  padding: 0;
}

#menu-overview,
#permissions {
  td.module {
    font-weight: bold;
  }
  .checkbox, .radio {
    display: table-cell;
  }
  .checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio] {
    position: inherit;
    margin: 0;
  }
}

.rules-elements-table ul.rules-operations a {
  background: none;
  padding: 0 20px;
}

.rules-elements-table ul.rules-operations-add a {
  line-height: 1.5em;
}

ul.action-links {
  margin: 20px 0 10px;
  list-style-type: none;
  display: inline-block;
  list-style-type: none;
  li {
    margin-right: 10px;
    &:last-child {
      margin-right: 0;
    }
    a {
      text-align: center;
      padding: 0 20px;
      line-height: 1.5em;
      border-radius: 3px;
      border: 1px solid #0074BD;
      &:hover {
        text-decoration: none;
        background: #0074BD;
        color: #fff;
      }
    }
  }
}

.rules-elements-table {
  position: relative;
}

td.ctools-export-ui-operations .ctools-dropbutton {
  position: relative;
}

.ctools-no-js .ctools-content ul,
.ctools-button-processed .ctools-content ul {
  padding: 0;
}

table#admin-dblog td.icon {
  padding: 5px 15px;
}

#views-ui-edit-form {
  .label {
    color: #666666;
  }
  .actions {
    z-index: 100;
    position: relative;
    a {
      line-height: 1.5;
    }
  }
}

#views-ajax-popup {
  z-index: 1010;
  position: relative;
}

input.form-button-disabled, input.form-button-disabled:active {
  background: #eee none;
  border-color: #eee;
  text-shadow: none;
  color: #999;
}

input[type=file] {
  display: inline-block;
}

input.form-autocomplete, input.form-text, input.form-file, textarea.form-textarea, select.form-select {
  padding: 5px 7px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  vertical-align: baseline;
  box-sizing: inherit;
  outline: 2px solid transparent;
  outline-offset: 0px;
  transition: all, 0.1s;
}

.form-managed-file .form-file, .form-managed-file .form-submit {
  margin-right: 1em;
}

html.js #module-filter-modules table td {
  border: none;
}

table.sticky-header {
  z-index: 2;
}

form table {
  input[type=checkbox],
  input[type=radio],
  input[type=checkbox]#edit-delete {
    top: 0 !important;
    z-index: 1;
  }
}

form {
  input[type=checkbox],
  input[type=radio],
  input[type=checkbox]#edit-delete {
    top: 0 !important;
    z-index: 1;
  }
}

form#system-modules {
  input[type=checkbox],
  input[type=radio],
  input[type=checkbox]#edit-delete {
    top: 5px !important;
    z-index: 1;
  }
}

.vertical-tab-button {
  .summary {
    word-wrap: break-word;
  }
}

th.active img {
  display: inline;
  margin-left: 5px;
  position: absolute;
}

.plupload_filelist_footer {
  height: 100%;
}

div.dev-query, div.devel-querylog {
  position: relative;
  z-index: 99999;
}

.views-field {
  a {
    margin-left: 10px;
    &:first-child {
      margin-left: 0;
    }
  }
}

.admin-list {
  dt {
    margin-bottom: 5px;
  }
  dd {
    margin-bottom: 15px;
  }
}

.table-hover > tbody > tr:hover {
  background-color: #a3e4f3;
}

th.field-label {
  label {
    padding-left: 20px;
  }
}

form {
  input[type="submit"] {
    margin: 20px;
    margin-left: 0;
  }
  .field-type-field-collection {
    .table-hover > tbody > tr:hover {
      background-color: #c4ddff;
    }
  }
}